package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备1日数据对象 device_day_info_1
 * 
 * @author ruoyi
 * @date 2024-08-24
 */
public class DeviceDayInfo1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long id;

    /** 装机容量 kW */
    @Excel(name = "装机容量 kW")
    private Double installedCapacity;

    /** 发电量 kWh */
    @Excel(name = "发电量 kWh")
    private Double productPower;

    /** 等效利用小时数 h */
    @Excel(name = "等效利用小时数 h")
    private Double perpowerRatio;

    /** 设备类型id */
    @Excel(name = "设备类型id")
    private Integer devTypeId;

    /** 年3月2日1 */
    @Excel(name = "年3月2日1")
    private Integer dataType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long devId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date collectTime;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setInstalledCapacity(Double installedCapacity) 
    {
        this.installedCapacity = installedCapacity;
    }

    public Double getInstalledCapacity() 
    {
        return installedCapacity;
    }
    public void setProductPower(Double productPower) 
    {
        this.productPower = productPower;
    }

    public Double getProductPower() 
    {
        return productPower;
    }
    public void setPerpowerRatio(Double perpowerRatio) 
    {
        this.perpowerRatio = perpowerRatio;
    }

    public Double getPerpowerRatio() 
    {
        return perpowerRatio;
    }
    public void setDevTypeId(Integer devTypeId)
    {
        this.devTypeId = devTypeId;
    }

    public Integer getDevTypeId()
    {
        return devTypeId;
    }
    public void setDataType(Integer dataType) 
    {
        this.dataType = dataType;
    }

    public Integer getDataType() 
    {
        return dataType;
    }
    public void setDevId(Long devId) 
    {
        this.devId = devId;
    }

    public Long getDevId() 
    {
        return devId;
    }
    public void setCollectTime(Date collectTime) 
    {
        this.collectTime = collectTime;
    }

    public Date getCollectTime() 
    {
        return collectTime;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("installedCapacity", getInstalledCapacity())
            .append("productPower", getProductPower())
            .append("perpowerRatio", getPerpowerRatio())
            .append("devTypeId", getDevTypeId())
            .append("dataType", getDataType())
            .append("devId", getDevId())
            .append("collectTime", getCollectTime())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
